package com.bdqn.BaseResponse;

public class BaseResponse<T> {

    /**
     * 响应信息，主要用于code!=0时，记录错误信息
     */
    private String msg = "Success";

    /**
     * 返回的对象
     */
    private T rows;

    /**
     * rows的总数量
     */
    private Long total = 0L;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }



    public T getRows() {
        return rows;
    }

    public void setRows(T rows) {
        this.rows = rows;
    }

}
